package com.zhq.controller;

import com.zhq.common.util.R;
import com.zhq.service.MerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/mer")
public class MerController {
	@Autowired
	private MerService classesService;
	@GetMapping("/list")
	public R list(){
		return R.ok().data("list",classesService.list());
	}
}
